package com.xbibo.autoconfigure.dal.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 字段
 *
 * @author jiangnan.zjn@alibaba-inc.com
 * @createDate 2017/9/23
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface DalColumn {

    /**
     * 字段别名
     * @return String
     */
    String alias() default "";

}
